package com.example.fmgidsprototype.data;

import java.util.List;

import com.example.fmgidsprototype.model.Category;
import com.example.fmgidsprototype.model.Review;
import com.example.fmgidsprototype.model.Venue;
import com.example.fmgidsprototype.model.VenueLocation;

public interface DataManager{

	public Venue getVenue(long id);
	public List<Venue> getAllVenues();
	public Category getCategory(long id);
	public long findCategory(String name);
	public List<Category> getAllCategories();
	//public void saveVenues(List<Venue> list);
	public void deleteAll();
	public long saveVenue(Venue venue);
	public long updateVenue(Venue venue);
	public long saveCategory(Category category);
	public long updateCategory(Category category);
	public long findVenue(long jsonId);
	public long saveKey(VenueCategoryKey key);
	public long updateKey(VenueCategoryKey key);
	public long saveVenueLocation(VenueLocation venueLocation);
	public long updateVenueLocation(VenueLocation venueLocation);
	public long saveReview(Review review);
	public long updateReview(Review review);
	public VenueLocation getLocationFromVenue(long venueId);
	public List<Venue> getAllVenuesWithLocations();
	public List<Venue> getAllVenuesForCategory(long catId);
	public List<Review> getReviewsForVenue(long venueId);
	public List<Venue> getAllVenuesWithCatLocRev();
	
}
